#ifndef CCSCENEDIRECTOR_H
#define CCSCENEDIRECTOR_H


#include "cocos2d.h"
#include "qtcoco\CocoHieriachy.h"
using namespace cocos2d;




class CCQTSceneDirector : public QObject
{
public :
    static CCQTSceneDirector * sharedSceneDirector();
    
//    static QTree <QString> m_treeItems;
    
    QCocoNode * m_selQNode;
    
    CCScene * getCurrentScene();

	virtual void onItemClicked(QCocoNode *node );
	QCocoNode * addNode( QCocoNode node , CCNode * parent);
	void removeCurrent();

	QCocoNode* CurrentQNode();

	CCNode* CurrentCNode();
	void changeCurrent( CCNode * newnode );
	void setCurrentQNode(QCocoNode *node);
};




#endif // CCSCENEDIRECTOR_H
